////
//// Created by shenlf on 2021-12-21.
////
//
//#include <iostream>
//
//using namespace std;
//
//int main() {
//
//    int ival = 1024;
//    int *pi = &ival;
//    int **ppi = &pi;
//    cout << "The value of ival\n"
//         << "direct value: " << ival << "\n"
//         << "indirect value: " << *pi << "\n"
//         << "doubly indirect value: " << **ppi
//         << endl;
//
//    int i = 2;
//    int *p1 = &i;
//    *pi = *p1 * *p1;
//    cout << "i = " << i << endl;
//    *pi *= *pi;
//    cout << "i = " << i << endl;
//
//
//    return 0;
//}